package cn.tedu._05mvcboot02.common.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum StatusCode {

    OPERATION_SUCCESS(2001, "操作成功"),
    OPERATION_FAILED(5001, "操作失败"),
    PARAMETER_ERROR(3001, "参数错误"),
    VALIDATION_ERROR(3002, "验证失败");



    private Integer status;
    private String message;
}
